import request from '@/utils/request'

// 查询生命体征列表
export function listVitalSigns(query) {
  return request({
    url: '/workstation/vitalSigns/list',
    method: 'get',
    params: query
  })
}

// 查询生命体征详细
export function getVitalSigns(id) {
  return request({
    url: '/workstation/vitalSigns/' + id,
    method: 'get'
  })
}

// 新增生命体征
export function addVitalSigns(data) {
  return request({
    url: '/workstation/vitalSigns',
    method: 'post',
    data: data
  })
}

// 修改生命体征
export function updateVitalSigns(data) {
  return request({
    url: '/workstation/vitalSigns',
    method: 'put',
    data: data
  })
}

// 删除生命体征
export function delVitalSigns(id) {
  return request({
    url: '/workstation/vitalSigns/' + id,
    method: 'delete'
  })
}
